import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-demo2',
  templateUrl: './demo2.component.html',
})
export class Demo2Component {
  selected = 'item001';

  check(val) {
    this.selected = val;
  }
}
